package com.wmyg.scanninggun.service;

import com.wmyg.scanninggun.bean.Bill;
import com.wmyg.antifake.enums.DataPrepareState;

import java.util.List;

public interface PackageService {

    boolean pack(Bill bill);

    //List<Bill> selectInvailBills(String deviceId);

    void insertBill(Bill bill, List<Bill> oldRelevants, boolean isValid);

    DataPrepareState dataPrepare(String batchKey, boolean tag);

    void dataPrepareThread(String batchKey, List<String> batchKeys);

    int selectValidCount(String deviceId, String startTime);

    int selectInvalidCount(String deviceId, String startTime);

}
